<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Improve Chances of Getting a Tip?</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for TipJoke"><tr><td>TipJoke</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Improve Chances of Getting a Tip?</h2>

<h3>Description</h3>

<p>Effect of a waiter leaving a joke or an advertisement on getting a tip
</p>


<h3>Format</h3>

<p>A dataset with 211 observations on the following 5 variables.
</p>

<table summary="Rd table">
<tr>
 <td style="text-align: right;">
    <code>Card</code> </td><td style="text-align: left;"> Type of card used: <code>Ad</code>, <code>Joke</code>, or <code>None</code></td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Tip</code> </td><td style="text-align: left;"> <code>1</code>=customer left a tip or <code>0</code>=no tip</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Ad</code> </td><td style="text-align: left;"> Indicator for <code>Ad</code> card (<code>1</code>=ad card left or <code>0</code>=no ad card)</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Joke</code> </td><td style="text-align: left;"> Indicator for <code>Joke</code> card (<code>1</code>=joke card left or <code>0</code>=no joke card)</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>None</code> </td><td style="text-align: left;"> Indicator for no card (<code>1</code>=no card left or <code>0</code>=ad or joke card left)</td>
</tr>
<tr>
 <td style="text-align: right;">
  </td>
</tr>

</table>



<h3>Details</h3>

<p>Can telling a joke affect whether or not a waiter in a coffee bar receives a tip from a customer?
A study investigated this question at a coffee bar at a famous resort on the west coast of France.
The waiter randomly assigned coffee-ordering customers to one of three groups: When receiving
the bill one group also received a card telling a joke, another group received a card containing an
advertisement for a local restaurant, and a third group received no card at all. He recorded whether or not
each customer left a tip.
</p>


<h3>Source</h3>

<p>Gueguen, Nicholas (2002), &quot;The Effects of a Joke on Tipping When it is Delivered at the Same Time as the Bill,&quot;
Journal of Applied Social Psychology, 32, 1955-1963.
</p>


</body></html>
